<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新增</title>
</head>
<body>
    <form action="">
  <table>
      <h2>新增页面</h2>
      <tr>
          <td><input type="text" name="username" id="username">用户名</td>
      </tr>
      <tr>
          <td><input type="text" name="phone" id="phone">联系方式</td>
      </tr>
      <tr>
          <td><input type="text" name="address" id="address">地址</td>
      </tr>
      <tr>
          <td><input type="text" name="remark" id="remark">备注</td>
      </tr>
      <tr>
          <td><input type="password" name="password" id="password">密码</td>
      </tr>
      <tr>
          <td><input type="text" name="name" id="name">登录名</td>
      </tr>
     <tr>
         <td>
        <select name="housingid" id="housingid">
            <option th:each=" housname:${getName}" th:value="${housname.id}" th:text="${housname.housingName}"></option>
        </select>
         </td>
     </tr>
      <tr>
          <td>
              <input type="radio" value="男" name="gender">男
              <input type="radio" value="女" name="gender">女
          </td>
      </tr>
      <tr>
          <td><input type="submit" value="提交"></td>
      </tr>
  </table>
    </form>
</body>
</html>